<form class="layui-form layui-form-pane edit-form">
    <div class="layui-form-item">
        <label class="layui-form-label">
            发布人id
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="user_id" type="text" value="{$data['user_id']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            红包数量
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="num" type="text" value="{$data['num']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            红包金额
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="price" type="text" value="{$data['price']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            剩余红包金额
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="odd_price" type="text" value="{$data['odd_price']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            剩余数量
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="get_num" type="text" value="{$data['get_num']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            跳转类型 1：服务  2：需求  3：个人主页
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="jump" type="text" value="{$data['jump']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            跳转项ID
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="foreign_key" type="text" value="{$data['foreign_key']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            要求-最小年龄（
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="min_age" type="text" value="{$data['min_age']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            要求-最大年龄
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="max_age" type="text" value="{$data['max_age']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            要求 - 性别  0：不要求   1：男  2：女
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="sex" type="text" value="{$data['sex']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            职业id
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="zhiye" type="text" value="{$data['zhiye']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            支付方式 0：余额 1：微信  2：支付宝
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="pay_type" type="text" value="{$data['pay_type']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            支付状态 0：未支付 1：已支付 2：已过期
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="pay_status" type="text" value="{$data['pay_status']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            支付时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="pay_time" type="text" value="{$data['pay_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            内部订单号
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="order_no" type="text" value="{$data['order_no']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            交易号
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="tran_no" type="text" value="{$data['tran_no']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            发送时间（在地图上显示的时间）
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="issue_time" type="text" value="{$data['issue_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            红包有效时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="validate_time" type="text" value="{$data['validate_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            添加时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="add_time" type="text" value="{$data['add_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="editform" lay-submit="">
                保存
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-cancel" type="button">
                取消
            </button>
        </div>
    </div>
</form>
